package me.zhengjie.modules.domain.enterprise;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.domain.BaseClass;

import java.util.Date;

@Data
@TableName("enterprise_financing")
public class EnterpriseFinancing extends BaseClass {

    @TableId
    private Long id;

    @ApiModelProperty(value = "公司名")
    @TableField(value = "company_name")
    private String companyName;

    @ApiModelProperty(value = "融资时间")
    @TableField(value = "date")
    private Date date;

    @ApiModelProperty(value = "披露时间")
    @TableField(value = "pub_time")
    private Date pubTime;

    @ApiModelProperty(value = "投资企业")
    @TableField(value = "investor_name")
    private String investorName;

    @ApiModelProperty(value = "金额")
    @TableField(value = "money")
    private String money;

    @ApiModelProperty(value = "新闻标题")
    @TableField(value = "news_title")
    private String newsTitle;

    @ApiModelProperty(value = "新闻url")
    @TableField(value = "news_url")
    private String newsUrl;

    @ApiModelProperty(value = "轮次")
    @TableField(value = "round")
    private String round;

    @ApiModelProperty(value = "投资比例")
    @TableField(value = "share")
    private String share;

    @ApiModelProperty(value = "估值")
    @TableField(value = "value")
    private String value;

    @ApiModelProperty(value = "公司id")
    @TableField(value = "companies_id")
    private Long companiesId;

    @ApiModelProperty(value = "批次号")
    @TableField(value = "batch_id")
    private Long batchId;
}
